<!--title=首页;css=lib/base;js=lib/jquery,lib/jquery.cookie,lib/base,lib/SetColor,index;mobile=yes-->
<body>
<div class="content">
    <div class="content-heading">
        <div class="container">
            <h2 class="text-center heading">轻量版聊天室</h2>
        </div>
    </div>
    <div class="container">
        <h3 class="text-center content-sub-heading">在下方选择一个选项</h3>
        <div class="text-center">
            <a class="btn btn-lg waves-button waves-effect waves-light" id="join">加入聊天</a>&nbsp;
            <a class="btn btn-lg waves-button waves-effect waves-light" id="create">创建聊天</a>
        </div>
        <div class="content-inner">
            <h3 class="text-center">昵称：<a id="name" class="btn btn-flat btn-lg waves-button waves-effect waves-light"></a></h3>
        </div>
    </div>
</div>

<div class="footer">
    <p>Developed by SCH</p>
    <p>Chat-Lite {VERSION}<br>Running with PHP {PHPVERSION}</p>
</div>
<a id="open-modal" data-toggle="modal" href="#name-modal"></a>
<div aria-hidden="true" class="modal fade" id="name-modal" role="dialog" tabindex="-1">
    <div class="modal-dialog modal-xs">
        <div class="modal-content">
            <div class="modal-heading">
                <a class="modal-close" data-dismiss="modal">&times;</a>
                <h2 class="modal-title">修改昵称</h2>
            </div>
            <div class="modal-inner">
                <div class="form-group">
                    <div class="row">
                        <div class="col">
                            <label class="form-label" for="input-name">输入昵称：</label>
                        </div>
                        <div class="col">
                            <input class="form-control" id="input-name" type="text">
                        </div>
                    </div>
                </div>
            </div>
            <div class="modal-footer">
                <p class="text-right">
                    <button class="btn btn-flat btn-alt" data-dismiss="modal" type="button" id="modal-cancel">取消</button>
                    <button class="btn btn-flat btn-alt" id="save-name">确定</button>
                </p>
            </div>
        </div>
    </div>
</div>
<div>
    <button style="position: fixed;top: 0;left: 0;z-index: 999;" class="btn btn-lg waves-button waves-effect waves-light" disabled><span class="fa fa-arrow-left fa-2x"></span></button>
    <button style="position: fixed;top: 0;left: 84px;z-index: 999;" class="btn btn-lg waves-button waves-effect waves-light" disabled><span class="fa fa-home fa-2x"></span></button>
    <button style="position: fixed;top: 0;left: 168px;z-index: 999;" class="btn btn-lg waves-button waves-effect waves-light" disabled><span class="fa fa-refresh fa-2x"></span></button>
</div>
{SetColor}
{JS}
</body>
</html>